//variablen
/*max_diff = 1;
rate = 10;
typex = 16;
typey = 0;
*/
rm = room_width / argument0;
rmx =  rm * argument1;




for(xx = rmx - rm;xx < rmx;xx += 16){
        if(floor(random(100)) < rate){
            yyy += round(random_range(max_diff,-max_diff)) * 16;
        }     
        //for(yy = yyy;yy < room_height;yy += 16){
        tile_add(t_planet2,typex,typey,16,1280,xx,yyy,-1);
        //}
}
